home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / modula2 / 172 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.2 KB  |  29 lines

  1. Newsgroups: comp.lang.modula2
  2. Path: cix.compulink.co.uk!usenet
  3. From: mark_tbu@cix.compulink.co.uk ("Mark Morgan Lloyd ")
  4. Subject: Re: Modula2 for C programmers?
  5. Message-ID: <DLqoJr.II5@cix.compulink.co.uk>
  6. Organization: KDG Mobrey Telemetry
  7. References: <822561600snz@nezumi.demon.co.uk>
  8. Date: Thu, 25 Jan 1996 13:38:15 GMT
  9. X-News-Software: Ameol
  10.  
  11. > It depends how you are intending to access the bits individually.
  12. > Among the bitset numbering orders I have seen are
  13. >       {31, 30, ....    1, 0}
  14. >       {24, 25, .... 32, 16, 17, ... 23, 8, 9,  ... 15,  7, 6, ... 0 }
  15. >       {7, 6,   .... 0,  15, 14, ... 8, 23, 22, ... 16,  31, 30, ... 24 }
  16.  
  17. ISTR PIM favours the first. I think that the points Martin makes are 
  18. something that any programmer should be aware of, they invariably crop up 
  19. as soon as any attempt is made to access an underlying system that has 
  20. not been written in the same language implementation- also when parsing 
  21. data structures received as raw data across a network (both jobs that CS 
  22. types prefer to sweep under the carpet :-)
  23.  
  24. Mark Morgan Lloyd
  25. mark_tbu@cix.compulink.co.uk
  26.  
  27. [Opinions above are the author's, not those of his employers or 
  28. colleagues]
  29.